IMG_FORMATS = 'bmp', 'dng', 'jpeg', 'jpg', 'mpo', 'png', 'tif', 'tiff', 'webp', 'pfm'
VID_FORMATS = 'asf', 'avi', 'gif', 'm4v', 'mkv', 'mov', 'mp4', 'mpeg', 'mpg', 'ts', 'wmv'

export function isImg(filePath){
  return filePath.split('.')[-1] in IMG_FORMATS
}

export function isVideo(filePath){
    return filePath.split('.')[-1] in VID_FORMATS
}